package com.itqf.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author: Panjianwei
 * @date: 2019/12/18 21:55
 * 代码是一门艺术，需要我们细细用心品味！
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class GongYing {
    private Integer gId;
    private String gName;
    private String gPhone;
    private String gLinkman;
    private String gAddress;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date gCreateTime;
    private  Product product;
    private Integer gStatu;

}
